package com.wangmei.mapper;


import java.util.List;

import com.wangmei.model.Productpic;
import com.wangmei.model.ProductpicExample;
import com.wangmei.pojo.ProductPicPojo;
import org.apache.ibatis.annotations.Param;

public interface ProductpicMapper {
    int countByExample(ProductpicExample example);

    int deleteByExample(ProductpicExample example);

    int deleteByPrimaryKey(Integer picid);

    int insert(Productpic record);

    int insertSelective(Productpic record);

    List<Productpic> selectByExample(ProductpicExample example);

    Productpic selectByPrimaryKey(Integer picid);

    int updateByExampleSelective(@Param("record") Productpic record, @Param("example") ProductpicExample example);

    int updateByExample(@Param("record") Productpic record, @Param("example") ProductpicExample example);

    int updateByPrimaryKeySelective(Productpic record);

    int updateByPrimaryKey(Productpic record);

    List<Productpic> getProductAllPic(Integer pid);

    List<ProductPicPojo> selectpics();

}